package exsun.jt808.data.distribute_data.jt808;

import exsun.jt808.data.distribute_data.DistributeEntity;
import exsun.jt808.data.upload_data.Jt808EntityBase;

public class GeneralReply extends DistributeEntity {
    private int OrgSerialNum;
    private int OrgMsgId;
    private int Result;
    public GeneralReply(String phoneNum, int serialNum, int msgId,  int result){
        this.setDevNo(phoneNum);
        this.OrgSerialNum = serialNum;
        this.OrgMsgId = msgId;
        this.Result = result;
    }

    public GeneralReply(Jt808EntityBase data,int result){
        this.setDevNo(data.dvo);
        this.OrgSerialNum = data.msgSerialNo;
        this.OrgMsgId = data.mid;
        this.Result = result;
    }

    public String getDevNo() {
        return devNo;
    }

    public void setDevNo(String devNo) {
        this.devNo = devNo;
    }

    public int getOrgSerialNum() {
        return OrgSerialNum;
    }

    public void setOrgSerialNum(int orgSerialNum) {
        OrgSerialNum = orgSerialNum;
    }

    public int getOrgMsgId() {
        return OrgMsgId;
    }

    public void setOrgMsgId(int orgMsgId) {
        OrgMsgId = orgMsgId;
    }

    public int getResult() {
        return Result;
    }

    public void setResult(int result) {
        Result = result;
    }







}
